<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'mem-addres-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'zm_id'); ?>
		<?php echo $form->textField($model,'zm_id'); ?>
		<?php echo $form->error($model,'zm_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zma_name'); ?>
		<?php echo $form->textField($model,'zma_name',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'zma_name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zma_zip'); ?>
		<?php echo $form->textField($model,'zma_zip',array('size'=>6,'maxlength'=>6)); ?>
		<?php echo $form->error($model,'zma_zip'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zma_tel'); ?>
		<?php echo $form->textField($model,'zma_tel',array('size'=>15,'maxlength'=>15)); ?>
		<?php echo $form->error($model,'zma_tel'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zma_mob'); ?>
		<?php echo $form->textField($model,'zma_mob',array('size'=>11,'maxlength'=>11)); ?>
		<?php echo $form->error($model,'zma_mob'); ?>
	</div>
<?php 
//     echo  Area::getAreainfo('MemAddres','1796');
       echo  Area::getAreainfo('MemAddres','1796');
      //echo $form->dropDownList($model,'zar_id',Area::getParentList('1786'),array('empty'=>'--请选择--'));
 ?>

	<div class="row">
		<?php echo $form->labelEx($model,'zma_email'); ?>
		<?php echo $form->textField($model,'zma_email',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'zma_email'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zma_address'); ?>
		<?php echo $form->textField($model,'zma_address',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'zma_address'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'zma_default'); ?>
		<?php echo $form->textField($model,'zma_default'); ?>
		<?php echo $form->error($model,'zma_default'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->